from scrapy import cmdline
import time


# spider_id = "hot"
spider_id = "trace"
# spider_id = "home"

print(time.strftime("%Y-%m-%d %H:%M:%S"))
cmdline.execute(f"scrapy crawl {spider_id}".split())
print(time.strftime("%Y-%m-%d %H:%M:%S"))

